<%@ page import="modal.BidModal" %>
<%@ page import="java.util.ArrayList" %>

<% ArrayList<BidModal> bids = (ArrayList<BidModal>)session.getAttribute("bids"); %>
<h3>Offer History</h3>
<table class="table table-striped">
   <thead>
     <tr>
       <th>Price</th>
       <th>OffererNo</th>
       <th>ChangeTime</th>
     </tr>
   </thead>
   <tbody>
 <% for(BidModal bid: bids) {%>
      <tr>
      <td><%=bid.getPrice()%></td>
      <td><%=bid.getUserId()%></td>
      <td><%=bid.getBidTime()%></td>
      </tr>
       
<% }%>
   </tbody>
 </table>